/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package GUI;

import javax.swing.JOptionPane;

/**
 *
 * @author Nordahl
 */
public class WelcomeDA extends javax.swing.JPanel {

    tvmGUI master;
    /**
     * Creates new form WelcomeDA
     */
    public WelcomeDA() {
        initComponents();
        LabWelcomeDAError.setText(" ");
        LabWelcomeDATypeError.setText(" ");
        LabWelcomeDAZonesError.setText(" ");
        LabWelcomeDAAmountError.setText(" ");
        // Time labels
        //LabWelcomeDATime.setText(master.time.toString().substring(0,19));
    }

    /**
     * This method is called from within the constructor to initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is always
     * regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        LabWelcomeDATitle = new javax.swing.JLabel();
        LabWelcomeDAInstruct = new javax.swing.JLabel();
        LabWelcomeDAInfo = new javax.swing.JLabel();
        LabWelcomeDATime = new javax.swing.JLabel();
        CBWelcomeDAType = new javax.swing.JComboBox();
        LabWelcomeDAPricePZ = new javax.swing.JLabel();
        CBWelcomeDAZone = new javax.swing.JComboBox();
        LabWelcomeDATypeError = new javax.swing.JLabel();
        LabWelcomeDAZonesError = new javax.swing.JLabel();
        LabWelcomeDAError = new javax.swing.JLabel();
        CBWelcomeDAAmount = new javax.swing.JComboBox();
        LabWelcomeDATempPrice = new javax.swing.JLabel();
        LabWelcomeDATotalPrice = new javax.swing.JLabel();
        LabWelcomeDAAmountError = new javax.swing.JLabel();
        ButWelcomeDANext = new javax.swing.JButton();
        ButWelcomeDAHelp = new javax.swing.JButton();
        ButWelcomeDALang = new javax.swing.JButton();

        setMinimumSize(new java.awt.Dimension(800, 600));

        LabWelcomeDATitle.setFont(new java.awt.Font("Tahoma", 1, 24)); // NOI18N
        LabWelcomeDATitle.setText("Velkommen til BlueJ Trafikselskab");

        LabWelcomeDAInstruct.setText("Vælg billettype, antal zoner og antal billetter fra dropdown menuerne herunder og tryk næste.");

        LabWelcomeDAInfo.setText(" ");

        LabWelcomeDATime.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
        LabWelcomeDATime.setText(" ");

        CBWelcomeDAType.setMaximumRowCount(10);
        CBWelcomeDAType.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Vælg billettype..." }));
        CBWelcomeDAType.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                CBWelcomeDATypeActionPerformed(evt);
            }
        });

        LabWelcomeDAPricePZ.setText(" ");

        CBWelcomeDAZone.setMaximumRowCount(10);
        CBWelcomeDAZone.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Vælg antal zoner...", "2-zoner", "3-zoner", "4-zoner", "5-zoner", "6-zoner", "7-zoner", "Alle-zoner" }));
        CBWelcomeDAZone.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                CBWelcomeDAZoneActionPerformed(evt);
            }
        });

        LabWelcomeDATypeError.setFont(new java.awt.Font("Tahoma", 2, 11)); // NOI18N
        LabWelcomeDATypeError.setForeground(new java.awt.Color(255, 0, 0));
        LabWelcomeDATypeError.setText(" ");

        LabWelcomeDAZonesError.setFont(new java.awt.Font("Tahoma", 2, 11)); // NOI18N
        LabWelcomeDAZonesError.setForeground(new java.awt.Color(255, 0, 0));
        LabWelcomeDAZonesError.setText(" ");

        LabWelcomeDAError.setFont(new java.awt.Font("Tahoma", 2, 11)); // NOI18N
        LabWelcomeDAError.setForeground(new java.awt.Color(255, 0, 0));
        LabWelcomeDAError.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        LabWelcomeDAError.setText(" ");

        CBWelcomeDAAmount.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Vælg antal billetter...", "1 stk", "2 stk", "3 stk", "4 stk", "5 stk" }));
        CBWelcomeDAAmount.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                CBWelcomeDAAmountActionPerformed(evt);
            }
        });

        LabWelcomeDATempPrice.setText("Pris pr. billet: ");

        LabWelcomeDATotalPrice.setText("Total pris:");

        LabWelcomeDAAmountError.setFont(new java.awt.Font("Tahoma", 2, 11)); // NOI18N
        LabWelcomeDAAmountError.setForeground(new java.awt.Color(255, 0, 0));
        LabWelcomeDAAmountError.setText(" ");

        ButWelcomeDANext.setText("Næste");
        ButWelcomeDANext.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                ButWelcomeDANextActionPerformed(evt);
            }
        });

        ButWelcomeDAHelp.setText("?");
        ButWelcomeDAHelp.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                ButWelcomeDAHelpActionPerformed(evt);
            }
        });

        ButWelcomeDALang.setText("[LANGUAGE]");

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);
        this.setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(layout.createSequentialGroup()
                        .addContainerGap()
                        .addComponent(LabWelcomeDAInfo, javax.swing.GroupLayout.PREFERRED_SIZE, 193, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                        .addComponent(LabWelcomeDATime, javax.swing.GroupLayout.PREFERRED_SIZE, 225, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(layout.createSequentialGroup()
                        .addGap(63, 63, 63)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
                                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addGroup(layout.createSequentialGroup()
                                        .addComponent(LabWelcomeDATypeError, javax.swing.GroupLayout.DEFAULT_SIZE, 96, Short.MAX_VALUE)
                                        .addGap(178, 178, 178))
                                    .addGroup(layout.createSequentialGroup()
                                        .addComponent(CBWelcomeDAType, javax.swing.GroupLayout.PREFERRED_SIZE, 126, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 7, Short.MAX_VALUE)
                                        .addComponent(LabWelcomeDAPricePZ, javax.swing.GroupLayout.PREFERRED_SIZE, 135, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)))
                                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(CBWelcomeDAZone, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addComponent(LabWelcomeDAZonesError, javax.swing.GroupLayout.PREFERRED_SIZE, 110, javax.swing.GroupLayout.PREFERRED_SIZE))
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 150, Short.MAX_VALUE)
                                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                                    .addComponent(CBWelcomeDAAmount, 0, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                    .addComponent(LabWelcomeDAAmountError, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                                .addGap(58, 58, 58))
                            .addGroup(layout.createSequentialGroup()
                                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(LabWelcomeDAInstruct)
                                    .addComponent(LabWelcomeDATitle)
                                    .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
                                        .addComponent(LabWelcomeDATotalPrice, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                        .addComponent(LabWelcomeDATempPrice, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, 200, Short.MAX_VALUE)))
                                .addGap(0, 0, Short.MAX_VALUE)))))
                .addContainerGap())
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
                .addGap(0, 0, Short.MAX_VALUE)
                .addComponent(LabWelcomeDAError, javax.swing.GroupLayout.PREFERRED_SIZE, 242, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(270, 270, 270))
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(ButWelcomeDALang)
                .addGap(28, 28, 28)
                .addComponent(ButWelcomeDAHelp)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addComponent(ButWelcomeDANext, javax.swing.GroupLayout.PREFERRED_SIZE, 86, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap())
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(LabWelcomeDAInfo)
                    .addComponent(LabWelcomeDATime))
                .addGap(42, 42, 42)
                .addComponent(LabWelcomeDATitle)
                .addGap(18, 18, 18)
                .addComponent(LabWelcomeDAInstruct)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 21, Short.MAX_VALUE)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(LabWelcomeDATypeError)
                    .addComponent(LabWelcomeDAZonesError)
                    .addComponent(LabWelcomeDAAmountError))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(CBWelcomeDAType, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(LabWelcomeDAPricePZ)
                    .addComponent(CBWelcomeDAZone, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(CBWelcomeDAAmount, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 152, Short.MAX_VALUE)
                .addComponent(LabWelcomeDAError)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 53, Short.MAX_VALUE)
                .addComponent(LabWelcomeDATempPrice)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(LabWelcomeDATotalPrice)
                .addGap(103, 103, 103)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(ButWelcomeDANext, javax.swing.GroupLayout.PREFERRED_SIZE, 32, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(ButWelcomeDAHelp, javax.swing.GroupLayout.PREFERRED_SIZE, 31, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(ButWelcomeDALang, javax.swing.GroupLayout.PREFERRED_SIZE, 32, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(18, 18, 18))
        );
    }// </editor-fold>//GEN-END:initComponents

    public void resetSelectionScreen() {
        // Reset Combo boxes
        CBWelcomeDAType.setSelectedIndex(0);
        CBWelcomeDAZone.setSelectedIndex(0);
        CBWelcomeDAAmount.setSelectedIndex(0);
        // Set error labes blank
        LabWelcomeDAAmountError.setText(" ");
        LabWelcomeDAError.setText(" ");
        LabWelcomeDATypeError.setText(" ");
        LabWelcomeDAZonesError.setText(" ");
    }
    
//-------------------------------ACTION-------------------------------------
    private void CBWelcomeDATypeActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_CBWelcomeDATypeActionPerformed
        //Checking which item is selected and setting price accordingly
        int n = CBWelcomeDAType.getItemCount()-1;   //Begin from index 0
        for (int m = 0; m<n; m++)
        {
            String type = master.CT.transferTicket(m).getTypeDA();
            if (type.equals(CBWelcomeDAType.getSelectedItem().toString()))
            {
                master.typePricePZ = master.CT.transferTicket(m).getPricePerZone();
                LabWelcomeDAPricePZ.setText("Pris pr. zone: "+master.typePricePZ+" DKK");
            }
        }
        if (CBWelcomeDAType.getSelectedItem().toString().equals("Vælg billettype..."))
        {
            LabWelcomeDAError.setText("Fejl - Et eller flere valg er ugyldige");
            LabWelcomeDATypeError.setText("Ugyldigt valg");
            LabWelcomeDAPricePZ.setVisible(false);
            LabWelcomeDATempPrice.setText("Pris pr. billet: ");
            LabWelcomeDATotalPrice.setText("Total pris: ");
        }
        else
        {
            LabWelcomeDAError.setText(" ");
            LabWelcomeDATypeError.setText(" ");
            LabWelcomeDAPricePZ.setVisible(true);
            if (!CBWelcomeDAType.getSelectedItem().toString().equals("Vælg billettype...") &&
                !CBWelcomeDAZone.getSelectedItem().toString().equals("Vælg antal zoner...") &&
                !CBWelcomeDAAmount.getSelectedItem().toString().equals("Vælg antal billetter...")
            ) {
                LabWelcomeDATotalPrice.setText("Total pris: "+(master.typePricePZ*master.amountZones*master.amountTickets)+" DKK");
            }
            if (!CBWelcomeDAType.getSelectedItem().toString().equals("Vælg billettype...") &&
                !CBWelcomeDAZone.getSelectedItem().toString().equals("Vælg antal zoner...")
            ) {
                LabWelcomeDATempPrice.setText("Pris pr. billet: "+(master.typePricePZ*master.amountZones)+" DKK");
            }
        }
    }//GEN-LAST:event_CBWelcomeDATypeActionPerformed

    private void CBWelcomeDAZoneActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_CBWelcomeDAZoneActionPerformed
        if (CBWelcomeDAZone.getSelectedItem().toString().equals("Vælg antal zoner...")) {
            LabWelcomeDAError.setText("Fejl - Et eller flere valg er ugyldige");
            LabWelcomeDAZonesError.setText("Ugyldigt valg");
            LabWelcomeDATempPrice.setText("Pris pr. billet: ");
            LabWelcomeDATotalPrice.setText("Total pris: ");
        } else {
            try {
                master.amountZones =  Integer.parseInt(CBWelcomeDAZone.getSelectedItem().toString().substring(0, 1));
            } catch (NumberFormatException e) {
                master.amountZones = 8;
            }
            LabWelcomeDAError.setText(" ");
            LabWelcomeDAZonesError.setText(" ");
            if (!CBWelcomeDAType.getSelectedItem().toString().equals("Vælg billettype...") &&
                !CBWelcomeDAZone.getSelectedItem().toString().equals("Vælg antal zoner...") &&
                !CBWelcomeDAAmount.getSelectedItem().toString().equals("Vælg antal billetter...")
            ) {
                LabWelcomeDATotalPrice.setText("Total pris: "+(master.typePricePZ*master.amountZones*master.amountTickets)+" DKK");
            }
            if (!CBWelcomeDAType.getSelectedItem().toString().equals("Vælg billettype...") &&
                !CBWelcomeDAZone.getSelectedItem().toString().equals("Vælg antal zoner...")
            ) {
                LabWelcomeDATempPrice.setText("Pris pr. billet: "+(master.typePricePZ*master.amountZones)+" DKK");
            }
        }
        if (!CBWelcomeDAType.getSelectedItem().toString().equals("Vælg billettype...") && !CBWelcomeDAZone.getSelectedItem().toString().equals("Vælg antal zoner...")) {
            LabWelcomeDATempPrice.setText("Pris pr. billet: "+(master.typePricePZ*master.amountZones)+" DKK");
        }
    }//GEN-LAST:event_CBWelcomeDAZoneActionPerformed

    private void CBWelcomeDAAmountActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_CBWelcomeDAAmountActionPerformed
        if (CBWelcomeDAAmount.getSelectedItem().toString().equals("Vælg antal billetter...")) {
            LabWelcomeDAError.setText("Fejl - Et eller flere valg er ugyldige");
            LabWelcomeDAAmountError.setText("Ugyldigt valg");
            LabWelcomeDATotalPrice.setText("Total pris: ");
        } else {
            master.amountTickets = Integer.parseInt(CBWelcomeDAAmount.getSelectedItem().toString().substring(0, 1));
            LabWelcomeDAError.setText(" ");
            LabWelcomeDAAmountError.setText(" ");
        }
        if (!CBWelcomeDAType.getSelectedItem().toString().equals("Vælg billettype...") &&
            !CBWelcomeDAZone.getSelectedItem().toString().equals("Vælg antal zoner...") &&
            !CBWelcomeDAAmount.getSelectedItem().toString().equals("Vælg antal billetter...")
        ) {
            LabWelcomeDATotalPrice.setText("Total pris: "+(master.typePricePZ*master.amountZones*master.amountTickets)+" DKK");
        }
    }//GEN-LAST:event_CBWelcomeDAAmountActionPerformed

    private void ButWelcomeDANextActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_ButWelcomeDANextActionPerformed
        int ticketIndex = 0;
        int n = master.CT.getArray().size()+2;  //Array begins from 0; ComboWindo begins from 1 with first being unusable

        if (CBWelcomeDAType.getSelectedItem().toString().equals("Vælg billettype...") ||
            CBWelcomeDAZone.getSelectedItem().toString().equals("Vælg antal zoner...") ||
            CBWelcomeDAAmount.getSelectedItem().toString().equals("Vælg antal billetter...")
        ) {
            return;
        }

        for (int m = 0; m<n; m++)
        {
            String type = master.CT.transferTicket(m).getTypeDA();
            if (type.equals(CBWelcomeDAType.getSelectedItem().toString()))
            {
                ticketIndex = m;
                break;
            }
        }
        master.SB.addToCart(ticketIndex, master.amountZones, CBWelcomeDAAmount.getSelectedIndex());
        // add selected ticket to soppingcart
        String toListAmount = master.amountTickets+" stk.";
        String toListType = master.CT.transferTicket(ticketIndex).getTypeDA();
        String toListZones = master.amountZones+"-zoner";
        // Check if last option is selected
        String temp_s = ""+CBWelcomeDAZone.getSelectedItem();
        int selectedAmountZones = 0;
        if (temp_s.equals("Alle-zoner")) {
            selectedAmountZones = 8;       // All zoner
        } else {    // If not, substring to first char to ignore " stk"
            selectedAmountZones = Integer.parseInt(temp_s.substring(0,1));
        }
        String toListSinglePrice = (master.CT.transferTicket(ticketIndex).getPricePerZone()*selectedAmountZones)+" DKK";

        // Separate variable to calculate total price
        int subTotalCalc = master.typePricePZ*master.amountZones*master.amountTickets;
        String toListsubTotal = subTotalCalc+" DKK";

        //Convert type length to maximum 8 characters
        if(toListType.length() > 9) {
            toListType = toListType.substring(0, 8);
        }
        //Fit to list design with 20 characters in total
        toListAmount = master.fitToListCart(toListAmount);
        toListType = master.fitToListCart(toListType);
        toListZones = master.fitToListCart(toListZones);
        toListSinglePrice = master.fitToListCart(toListSinglePrice);

        // Add selected ticket to an array and display the array on a list on next window
        master.CartContent.add(toListAmount+toListType+toListZones+toListSinglePrice+toListsubTotal);
        //ListCartDATicketList.setListData(master.CartContent.toArray());

        // Show next window
        //switchWindow(WelcomeDA, CartDA);
        //LabCartDAInfo.setText("Maskin ID: "+master.hardID+"  Zone: "+master.startZone);
        //LabCartDATotal.setText("Total pris: "+master.SB.getTotalPrice()+" DKK");
    }//GEN-LAST:event_ButWelcomeDANextActionPerformed

    private void ButWelcomeDAHelpActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_ButWelcomeDAHelpActionPerformed
        JOptionPane.showMessageDialog(this,
            "\nFor hjælp ring xx xx xx xx"
            + "\nFor teknisk assistance ring xx xx xx xx"
            + "\nHusk at oplyse maskinens ID, som kan findes i øvre venstre hjørne."
            + "\n"
            + "\nBlueJ Trakfikselskab","Hjælp og teknisk support",
            JOptionPane.INFORMATION_MESSAGE);
    }//GEN-LAST:event_ButWelcomeDAHelpActionPerformed

    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton ButWelcomeDAHelp;
    private javax.swing.JButton ButWelcomeDALang;
    private javax.swing.JButton ButWelcomeDANext;
    private javax.swing.JComboBox CBWelcomeDAAmount;
    private javax.swing.JComboBox CBWelcomeDAType;
    private javax.swing.JComboBox CBWelcomeDAZone;
    private javax.swing.JLabel LabWelcomeDAAmountError;
    private javax.swing.JLabel LabWelcomeDAError;
    private javax.swing.JLabel LabWelcomeDAInfo;
    private javax.swing.JLabel LabWelcomeDAInstruct;
    private javax.swing.JLabel LabWelcomeDAPricePZ;
    private javax.swing.JLabel LabWelcomeDATempPrice;
    private javax.swing.JLabel LabWelcomeDATime;
    private javax.swing.JLabel LabWelcomeDATitle;
    private javax.swing.JLabel LabWelcomeDATotalPrice;
    private javax.swing.JLabel LabWelcomeDATypeError;
    private javax.swing.JLabel LabWelcomeDAZonesError;
    // End of variables declaration//GEN-END:variables
}
